Answer: If Bob goes second, then Bob wins by just replicating Alice's move. If Alice writes 0, Bob writes 0; if Alice writes 1, Bob writes 1. This ensures that each "block" is either 0 or 3, which are divisible by 3. If Bob starts, then Bob loses, because in the last turn, Alice has two options, only one of which can be divisible by 3.